namespace PersonalHealth.Data.Model
{
    using System;
    using System.Collections.Generic;
    using Core.Model;

    public partial class Department : SynchronizeNode<Department>
    {
        public Department()
        {
            this.Children = new HashSet<Department>();
            this.Users = new HashSet<User>();
        }

        public int EnterpriseId { get; set; }
    
        public virtual Enterprise Enterprise { get; set; }
        public virtual ICollection<User> Users { get; set; }
    }
}
